package sy.services.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import sy.db.mysql.dao.TresourcetypeDao;
import sy.db.mysql.model.Tresourcetype;
import sy.services.ResourceTypeServiceI;

@Service
public class ResourceTypeServiceImpl implements ResourceTypeServiceI {
	
	@Autowired
	TresourcetypeDao tresourcetypeDao;
	@Override
	public List<Tresourcetype> getResourceTypeList() {
		Map<String, String> params = new HashMap<String, String>();
		return tresourcetypeDao.findbyByGrid(params);
	}}
